-
Home
-
Bolt Checkout for WooCommerce
-
2.19.0
-
Code
-
Classes
- Bolt_Metrics_Client
Total Complexity |
35 |
Dependencies |
5 |
Dependents |
1 |
Total lines |
321 |
Lines of code |
146 |
Logical lines of code |
83 |
Comment lines |
125 |
Methods |
17 |
Properties |
5 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
post_metrics() |
A |
46 |
8 |
38 |
wait_for_file() |
S |
57 |
4 |
17 |
write_metric_to_file() |
S |
62 |
3 |
12 |
process_metric() |
S |
65 |
3 |
9 |
get_instance() |
S |
72 |
2 |
6 |
process_count_metric() |
S |
67 |
2 |
8 |
process_latency_metric() |
S |
67 |
2 |
8 |
schedule_post_metrics() |
S |
69 |
2 |
7 |
__construct() |
S |
69 |
1 |
7 |
is_enabled() |
S |
81 |
1 |
3 |
lock_file() |
S |
78 |
1 |
3 |
unlock_file() |
S |
80 |
1 |
3 |
get_current_time() |
S |
79 |
1 |
3 |
save_start_time() |
S |
80 |
1 |
3 |
get_file_path() |
S |
80 |
1 |
3 |
format_count_metric() |
S |
67 |
1 |
8 |
format_latency_metric() |
S |
67 |
1 |
8 |